<script setup lang="ts">
import { useRouter } from "vue-router";
const router = useRouter()
</script>

<template>
<div>

  <a-button  @click="router.push('/')">切换首页</a-button>

</div>
</template>

<style scoped>

</style>